Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / Clear Method / Clear(Color,Nullable<Rectangle>) Method
The color to fill the image.
The target rectangle of the GcBitmap.

In This Topic
Clear(Color,Nullable<Rectangle>) Method
In This Topic
Clears the GcBitmap with the specified color.
Syntax
'Declaration
 
Public Overloads Sub Clear( _
   ByVal color As System.Drawing.Color, _
   Optional ByVal clipRect As System.Nullable(Of Rectangle) _
) 
 

Parameters

color
The color to fill the image.
clipRect
The target rectangle of the GcBitmap.
See Also